package anji.plus.system.mark.mapper;

import anji.plus.system.mark.domain.Account;
import anji.plus.system.mark.domain.PrizeConfig;
import anji.plus.system.mark.domain.PrizeRecord;
import anji.plus.system.mark.domain.SysUser;
import anji.plus.system.mark.dto.PrizeInfoRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 系统用户表Mapper接口
 * </p>
 *
 * @author luwei
 * @since 2023-12-12
 */
public interface PrizeRecordMapper extends BaseMapper<PrizeRecord> {



    //奖励转盘-抽奖
    List<PrizeConfig> queryPrizeList(String prizeLevel);

    //转盘配置查询
    List<PrizeConfig> prizeList(String prizeLevel);


    void updateTimes(String name);

    void addPrizeRecord(Long id,String name, Long prizeId,String prizeName,String prizeLevel);

    String queryUserTimes(String name);

    SysUser queryUserInfo(String name);

    List<PrizeInfoRecord> prizeInfo();


}
